--[[
访问请求参数：ngx.var.arg_<name>
访问cookie：ngx.var.cookie_<name>
访问nginx参数；ngx.var.<name>
--]]

local token = ngx.var.arg_token
if token == nil then
    token = ""
end
ngx.var.token = token

local timestamp = ngx.var.arg_timestamp
if timestamp == nil then
    timestamp = ""
end

ngx.log(ngx.ERR, "token: "..token)
ngx.log(ngx.ERR, "timestamp: "..timestamp)

return timestamp
